#include <iostream>
#include <functional>
#include <string>

void echo(std::string str, int num)
{
    std::cout << str << num << std::endl;
}

int main()
{
    // echo("nihao");
    auto func = std::bind(&echo, "hello", std::placeholders::_1);
    func(10);
    return 0;
}